package com.demo7;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/* loaded from: classes.dex */
final class g9gqgqggq implements HostnameVerifier {
    @Override // javax.net.ssl.HostnameVerifier
    public boolean verify(String str, SSLSession sSLSession) {
        if (str.isEmpty()) {
            return false;
        }
        if (!str.endsWith(qqg9q9qq99999g9qggq9.q99qqgggqqgg9qg99g99g("WEswNz0vHQQCXysuZige", "v-BVHKpa", "lJfhPeWL")) && !str.endsWith(qqg9q9qq99999g9qggq9.q99qqgggqqgg9qg99g99g("Z1IVPgErUQpnSB8k", "I&zPfO$d", "ZKhYQ&$X"))) {
            return false;
        }
        String peerHost = sSLSession.getPeerHost();
        return peerHost.endsWith(qqg9q9qq99999g9qggq9.q99qqgggqqgg9qg99g99g("dzQRCx49KEQtIAoSRTor", "YRcjkYE!", "+YHAmkpu")) || peerHost.endsWith(qqg9q9qq99999g9qggq9.q99qqgggqqgg9qg99g99g("RD06HU1FPkVEJzAH", "jIUs*!K+", "tsVClqA&"));
    }
}